CollectionView for WinForms
CanSort<T>(ICollectionView<T>,String,SortDirection) メソッド

C1.CollectionView アセンブリ > C1.CollectionView 名前空間 > ICollectionViewEx クラス > CanSort メソッド : CanSort<T>(ICollectionView<T>,String,SortDirection) メソッド
The collection view.
The path of the data item to which the sort would be applied.
Whether the sort is ascending or descending.
Returns true if the collection view supports sorting.
シンタックス
'宣言
 
Public Overloads Shared Function CanSort(Of T As Class)( _
   ByVal collectionView As ICollectionView(Of T), _
   ByVal sortPath As System.String, _
   ByVal direction As SortDirection _
) As System.Boolean
public static System.bool CanSort<T>( 
   ICollectionView<T> collectionView,
   System.string sortPath,
   SortDirection direction
)
where T: class

パラメータ

collectionView
The collection view.
sortPath
The path of the data item to which the sort would be applied.
direction
Whether the sort is ascending or descending.

型パラメータ

T
参照

ICollectionViewEx クラス
ICollectionViewEx メンバ
オーバーロード一覧